package model

import "gf-admin-api-template/internal/model/entity"

type RoleGetListInput struct {
	RoleCreateInput
	Page     int // 分页号码
	PageSize int // 分页数量，最大50
}

type RoleCreateInput struct {
	Name string
	Slug string
}

type RoleRelMenuInput struct {
	RoleId uint
	MenuId uint
}

type RoleInfo struct {
	entity.AdminRole
	Menus []*MenuSimpleTreeItem `json:"menus"`
}
